package com.ming.wx;

/**
 * Create By LB on 2020/5/28.
 * 错误码定义范围  6000-7000
 */
public enum RespResultEnum {

    SUCCESS(200, "成功"),
    ERROR(7000, "server error"),
    JS_CODE_REQ_ERROR(7205, "获取js_code失败"),
    SESSION_KEY_ERROR(7206, "获取session_key失败: "),
    DECRYPT_MOBILE_ERROR(7207, "解密手机号失败");


    private Integer code;
    private String message;

    RespResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
